You are here: Original Structure > MiiNT 2.5 Administration > Administration Menu > Creating Import Templates

Creating Import Templates

Data Import pages are used for the importing of records that have been exported from other systems in comma delimited (csv) format. Data Management Queries are used to create import templates that map fields from the exported file to MiiNT tables. The import data management queries can be assigned to navigation menu items with a page type of Data Import. Only users with access to these navigation menus will be able to access these tables.

In the above example a Data Management Query may be used to import records into the Location table and the related Location Coordinates Bulk Upload table.

Note: It is now possible to select related tables, that may be used when importing records into a table and its related table(s). The fields for the related table(s) will be listed amongst the fields of the selected table code and mapped to fields in an exported comma delimited (csv) file.

Note: It may be necessary to set the order of the Id fields when importing from related tables that have a dependency. For instance when creating new hole details using the Location, Hole Parameters and Hole Positions tables the location will need to exist before the hole parameter records can be created and the hole parameter records will need to exist before the hole position records can be created.

Refer to the Data Management Queries Fields topic for information relating to the data management queries fields and attribute fields.

Note: To display any changes made to any of the Data Management Queries select the Refresh Items button on the relevant menu to pick up the changes.

Refer to the Managing Administration Definition Types topic for information on how to manage the Data Management Queries - Administration definitions.

Importer Values

The Default New Value attribute in data management queries is used to map fields in the comma delimited (csv) file to fields from the selected Table Code and Related Table(s). The following options are supported when mapping fields from the import file to tables within MiiNT: